
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>修改密码-页面</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/css/bootstrap.min.css">
    <script src="${pageContext.request.contextPath}/js/jquery-2.2.4.js"></script>
    <script src="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
  </head>
  <body>
  <jsp:include page="nav.jsp"/>
  <div class="container">

    <div class="panel panel-danger">
      <div class="panel-heading text-center">
        <h4>修改密码</h4>
      </div>
      <div class="panel-body">
        <form class="form-horizontal" action="${pageContext.request.contextPath}/submitChangePassword.do">
          <input type="hidden" name="id" value="${admin.id}">
          <div class="form-group">
            <label for="old_password" class="col-sm-2 control-label">旧密码</label>
            <div class="col-sm-10">
              <input type="text" class="form-control" id="old_password" name="old_password" placeholder="请输入旧密码" value="">
            </div>
          </div>
          <div class="form-group">
            <label for="new_password" class="col-sm-2 control-label">新密码</label>
            <div class="col-sm-10">
              <input type="text" class="form-control" id="new_password" name="new_password" placeholder="请输入新密码" value="">
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
              <button type="submit" class="btn btn-default">提交</button>
              <span style="color:red">${msg}</span>
            </div>

          </div>
        </form>
      </div>
    </div>


  </div>
  </body>
</html>
